package com.nectia.certificacion.scjp;

import java.util.Vector;

/**
 * @author eogaz
 * tipo más bajo que puede devolver la función
 */

//protected class MyVector extends Vector { // ERROR
class MyVector extends Vector {
	int i = 1;
	public MyVector() {
		i = 2;
	}
}

public class Exercise45 extends MyVector {
	
	public Exercise45() {
		i = 4;
	}
	public static void main(String args[]) {
		
		MyVector v = new Exercise45();
	}
}